

public class demo {
    public static void main(String[] args) {
        String a=" helloworld";
        String b=a.trim();
        System.out.println(b);
    }

    public static void main1(String[] args) {
        String a=" helloworld";
        String b=a.trim();
        System.out.println(b);

    }
}
